package com.xbxm.supplier.crm.utils

import android.content.Context
import com.shierke.Ume.bean.LoginObject
import com.shierke.Ume.util.config

class CustomUtils {
    companion object {
        fun saveUserInfo(ctx: Context, bean: LoginObject.DataBean) {
            with(ctx.config) {
                accessToken = bean.accessToken
                tokenType = bean.tokenType
                expiresIn = bean.expiresIn
                account = bean.account
                authFlag = bean.authFlag
                webId = bean.webId
            }
        }
    }
}